import request from '@/utils/request'

// 查询1009 区块链电子发票列表
export function listQukuailian(query) {
  return request({
    url: '/doc/qukuailian/list',
    method: 'get',
    params: query
  })
}

// 查询1009 区块链电子发票详细
export function getQukuailian(id) {
  return request({
    url: '/doc/qukuailian/' + id,
    method: 'get'
  })
}

// 新增1009 区块链电子发票
export function addQukuailian(data) {
  return request({
    url: '/doc/qukuailian',
    method: 'post',
    data: data
  })
}

// 修改1009 区块链电子发票
export function updateQukuailian(data) {
  return request({
    url: '/doc/qukuailian',
    method: 'put',
    data: data
  })
}

// 删除1009 区块链电子发票
export function delQukuailian(id) {
  return request({
    url: '/doc/qukuailian/' + id,
    method: 'delete'
  })
}
